MongoDB Atlas Logs

Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · 📊

Back to Connectors Index


Attribute Value
Connector ID MongoDBAtlasLogsAzureFunctions
Publisher MongoDB
Used in Solutions MongoDBAtlas
Collection Method Azure Function
Connector Definition Files MongoDBAtlasLogs_AzureFunction.json
Ingestion API Log Ingestion APIAzure Function code uses LogsIngestionClient/Log Ingestion API

The MongoDBAtlas Logs connector gives the capability to upload MongoDB Atlas database logs into Microsoft Sentinel through the MongoDB Atlas Administration API. Refer to the API documentation for more information. The connector provides the ability to get a range of database log messages for the specified hosts and specified project.

Tables Ingested

This connector ingests data into the following tables:

Table Transformations Ingestion API Lake-Only
MDBALogTable_CL ? ?

💡 Tip: Tables with Ingestion API support allow data ingestion via the Azure Monitor Data Collector API, which also enables custom transformations during ingestion.

Permissions

Resource Provider Permissions: - Workspace (Workspace): read and write permissions on the workspace are required. - Keys (Workspace): read permissions to shared keys for the workspace are required. See the documentation to learn more about workspace keys.

Custom Permissions: - Microsoft.Web/sites permissions: Read and write permissions to Azure Functions to create a Function App is required. See the documentation to learn more about Azure Functions. - REST API Credentials/permissions: MongoDB Atlas service account Client ID and Client Secret are required. See the documentation to learn more about creating a service account

Setup Instructions

⚠️ Note: These instructions were automatically generated from the connector's user interface definition file using AI and may not be fully accurate. Please verify all configuration steps in the Microsoft Sentinel portal.

NOTE: This connector uses Azure Functions to connect to 'MongoDB Atlas' to pull its logs into Microsoft Sentinel. This might result in additional data ingestion costs. Check the Azure Functions pricing page for details.

(Optional Step) Securely store workspace and API authorization key(s) or token(s) in Azure Key Vault. Azure Key Vault provides a secure mechanism to store and retrieve key values. Follow these instructions to use Azure Key Vault with an Azure Function App.

Ensure the workspace is added to Microsoft Sentinel before deploying the connector.

1. STEP 1 - Configuration steps for the 'MongoDB Atlas Administration API'

  1. Follow these instructions to create a MongoDB Atlas service account.
  2. Copy the Client ID and Client Secret you created, also the Group ID (Project) and each Cluster ID (Hostname) required for later steps.
  3. Refer MongoDB Atlas API documentation for more details.
  4. The client secret can be passed into the connector via an Azure key vault or directly into the connector.
  5. If you want to use the key vault option create a key vault, using a Vault Access Policy, with a secret named mongodb-client-secret and your client secret saved as the secret value.

2. STEP 2 - Deploy the 'MongoDB Atlas Logs' connector and the associated Azure Function

  1. Click the Deploy to Azure button below.

    Deploy To Azure

3. STEP 3 - Set the connector parameters

  1. Select the preferred Subscription and an existing Resource Group.
  2. Enter an existing Log Analytics Workspace Resource ID belonging to the resource group.
  3. Click Next
  4. Enter the MongoDB Group ID, a list of up to 10 MongoDB Cluster IDs, each on a separate line, and MongoDB Client ID.
  5. Choose for Authentication Method either Client Secret and copy in your client secret value or Key Vault and copy in the name of your key vault. Click Next
  6. Review the MongoDB filters. Select logs from at least one category. Click Next
  7. Review the schedule. Click Next
  8. Review the settings then click Create.

Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · 📊

Back to Connectors Index